<html>
<head><meta charset="utf-8"><title>missing-fragment-specific · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html">missing-fragment-specific</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="225555688"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/missing-fragment-specific/near/225555688" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html#225555688">(Feb 08 2021 at 15:00)</a>:</h4>
<p>Going through notifications, I came across <a href="https://github.com/rust-lang/rust/issues/40107#issuecomment-761725346">this discussion</a> on <a href="https://github.com/rust-lang/rust/issues/40107">#40107</a>. I think <span class="user-mention" data-user-id="119031">@Esteban Küber</span> is right that promoting lints to hard errors on edition boundaries is a pretty crisp story.</p>



<a name="225555754"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/missing-fragment-specific/near/225555754" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html#225555754">(Feb 08 2021 at 15:00)</a>:</h4>
<p>I am thinking about the discussion we've kind of "almost had" a few times now about how much to push on backwards compatibility in various lang team meetings.</p>



<a name="225556455"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/missing-fragment-specific/near/225556455" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html#225556455">(Feb 08 2021 at 15:05)</a>:</h4>
<p>Yeah. I think I am not <em>entirely</em> sold, but I think it is likely the right strategy - seems like it strikes largely the right balance. I'm not sure how I feel about leaving the warning on or at deny or stronger errors on the <em>current</em> edition, but in terms of a hard error on the next edition modulo implementation complexity it definitely seems good.</p>



<a name="225556530"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/missing-fragment-specific/near/225556530" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html#225556530">(Feb 08 2021 at 15:05)</a>:</h4>
<p>It's worth noting that it's almost equivalent to cap-lints forbid by default; I can't imagine someone upgrading editions and publishing their code when it doesn't locally compile.</p>



<a name="225557050"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/missing-fragment-specific/near/225557050" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html#225557050">(Feb 08 2021 at 15:08)</a>:</h4>
<p>Yeah, it's very close to equivalent.</p>



<a name="225557078"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/missing-fragment-specific/near/225557078" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html#225557078">(Feb 08 2021 at 15:09)</a>:</h4>
<p>I think long term is really does feel like the right strategy.</p>



<a name="225581298"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/missing-fragment-specific/near/225581298" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/missing-fragment-specific.html#225581298">(Feb 08 2021 at 17:46)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116009">nikomatsakis</span> <a href="#narrow/stream/268952-edition/topic/missing-fragment-specific/near/225555688">said</a>:</p>
<blockquote>
<p>Going through notifications, I came across <a href="https://github.com/rust-lang/rust/issues/40107#issuecomment-761725346">this discussion</a> on <a href="https://github.com/rust-lang/rust/issues/40107">#40107</a>. I think <span class="user-mention silent" data-user-id="119031">Esteban Küber</span> is right that promoting lints to hard errors on edition boundaries is a pretty crisp story.</p>
</blockquote>
<p>Yeah, I think if we're only going to <code>deny</code>-but-still-a-lint we can just do that without the edition boundary, <a href="https://github.com/rust-lang/rust/pull/55632#issuecomment-437143520">like we did with <code>overflowing_literals</code></a>.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>